package task

import (
	"gitea.in/wx-rdc/service-base/internal/pkg/core"
	"gitea.in/wx-rdc/service-base/internal/repository/mysql"

	"go.uber.org/zap"
)

type Service interface {
	i()

	List(ctx core.Context, searchData *SearchData) (int64, []*TaskItem, error)
}

type service struct {
	logger *zap.Logger
	db     mysql.Repo
}

func New(logger *zap.Logger, db mysql.Repo) Service {
	return &service{
		logger: logger,
		db:     db,
	}
}

func (s *service) i() {}
